package com.one.common.model.extra;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * creator: zhulunjun
 * time:    2018/7/20
 * describe: 带基本数据类型的参数
 */
public class DefaultExtra extends BaseExtra {
    private String str;
    private int num;
    private boolean bool;
    private long lon;
    private double dou;
    private Object obj;
    private ArrayList arrList;
    private List list;
    private Map map;

    public DefaultExtra(String str, int num) {
        this.str = str;
        this.num = num;
    }

    public DefaultExtra(String str) {
        this.str = str;
    }

    public DefaultExtra(int num) {
        this.num = num;
    }

    public DefaultExtra(boolean bool) {
        this.bool = bool;
    }

    public DefaultExtra(long lon) {
        this.lon = lon;
    }

    public DefaultExtra(double dou) {
        this.dou = dou;
    }

    public DefaultExtra(Object obj) {
        this.obj = obj;
    }

    public DefaultExtra(ArrayList arrList) {
        this.arrList = arrList;
    }

    public DefaultExtra(List list) {
        this.list = list;
    }

    public DefaultExtra(Map map) {
        this.map = map;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public boolean isBool() {
        return bool;
    }

    public void setBool(boolean bool) {
        this.bool = bool;
    }

    public long getLon() {
        return lon;
    }

    public void setLon(long lon) {
        this.lon = lon;
    }

    public double getDou() {
        return dou;
    }

    public void setDou(double dou) {
        this.dou = dou;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    public ArrayList getArrList() {
        return arrList;
    }

    public void setArrList(ArrayList arrList) {
        this.arrList = arrList;
    }

    public List getList() {
        return list;
    }

    public void setList(List list) {
        this.list = list;
    }

    public Map getMap() {
        return map;
    }

    public void setMap(Map map) {
        this.map = map;
    }
}
